﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WindowsInput;
using GamePlugin.Logics.Core;
using GamePlugin.Logics.Game.Actions;
using GamePlugin.Logics.Data;
using System.Drawing;
using GamePlugin.GGraphics;

namespace GamePlugin.Logics.Game
{
    public class DiabloPluginGame
    {
        public ScreenChecker ScreenChecker
        {
            get;
            set;
        }

        public InputSimulator InputSimulator
        {
            get;
            set;
        }

        public HierarchyStateMachine Root
        {
            get;
            set;
        }

        public DiabloPluginGame()
        {
            this.InputSimulator = new InputSimulator();
            this.ScreenChecker = new ScreenChecker();

            Root = new DAction();
        }

        public void Update(GameTime gameTime)
        {
            this.Root.Update(gameTime);
        }
    }
}
